package pw.canyingisme.plugin.action;

import org.bukkit.configuration.file.FileConfiguration;
import pw.canyingisme.plugin.config.ConfigLoader;
import java.util.List;

public class ActionConfigManager {
    private static FileConfiguration ActionConfig;
    public static boolean init(){
        ActionConfig= ConfigLoader.getActionConfig();
        return ActionConfig!=null;
    }
    public static List<?> getActionList(String ActionName){
        return ActionConfig.getList("Action."+ActionName);
    }
}
